home *** CD-ROM | disk | FTP | other *** search
/ Savor the Moment - Entert…ing Without Reservations / Savoe the Moment - Entertaining Without Reservations.iso / pc / recipeFinder.dxr / 00028_Play Done.ls < prev    next >
Encoding:
Text File  |  1999-10-05  |  1.1 KB  |  18 lines

  1. on getBehaviorDescription me
  2.   return "PLAY DONE" & RETURN & RETURN & "Use this behavior to end a sequence and to return the playback head to where the most recent 'Play' command was issued." & RETURN & RETURN & "If you drop it onto a graphic member, the 'play done' command is sent when the user clicks on the sprite (on mouseUp)." & RETURN & RETURN & "If you drop it onto the Stage or the Script Channel of the Score, it will be sent when the playback head leaves the frame (on exitFrame)." & RETURN & RETURN & "PARAMETERS: None" & RETURN & RETURN & "ASSOCIATED BEHAVIORS:" & RETURN & "+ Play Frame X" & RETURN & "+ Play Movie X"
  3. end
  4.  
  5. on getBehaviorTooltip me
  6.   return "Use with graphic members or as a frame behavior." & RETURN & RETURN & "Returns the playback head to the frame where the" & RETURN & "most recent 'play' command was issued.   Acts on" & RETURN & "mouseUp or on exitFrame, depending on whether" & RETURN & "you drag it to a sprite or to the Stage."
  7. end
  8.  
  9. on mouseUp me
  10.   play done
  11. end
  12.  
  13. on exitFrame me
  14.   if the currentSpriteNum = 0 then
  15.     play done
  16.   end if
  17. end
  18.